home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XSetPointerMapping.z / XSetPointerMapping
Encoding:
Text File  |  2002-10-03  |  4.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXSSSSeeeettttPPPPooooiiiinnnntttteeeerrrrMMMMaaaappppppppiiiinnnngggg((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeettttPPPPooooiiiinnnntttteeeerrrrMMMMaaaappppppppiiiinnnngggg((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XSetPointerMapping, XGetPointerMapping - manipulate pointer
  10.           settings
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           int XSetPointerMapping(_d_i_s_p_l_a_y, _m_a_p, _n_m_a_p)
  14.                 Display *_d_i_s_p_l_a_y;
  15.                 unsigned char _m_a_p[];
  16.                 int _n_m_a_p;
  17.  
  18.           int XGetPointerMapping(_d_i_s_p_l_a_y, _m_a_p__r_e_t_u_r_n, _n_m_a_p)
  19.                 Display *_d_i_s_p_l_a_y;
  20.                 unsigned char _m_a_p__r_e_t_u_r_n[];
  21.                 int _n_m_a_p;
  22.  
  23.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  24.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  25.  
  26.           _m_a_p       Specifies the mapping list.
  27.  
  28.           _m_a_p__r_e_t_u_r_n
  29.                     Returns the mapping list.
  30.  
  31.           _n_m_a_p      Specifies the number of items in the mapping list.
  32.  
  33.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  34.           The _X_S_e_t_P_o_i_n_t_e_r_M_a_p_p_i_n_g function sets the mapping of the
  35.           pointer.  If it succeeds, the X server generates a
  36.           _M_a_p_p_i_n_g_N_o_t_i_f_y event, and _X_S_e_t_P_o_i_n_t_e_r_M_a_p_p_i_n_g returns
  37.           _M_a_p_p_i_n_g_S_u_c_c_e_s_s.  Element map[i] defines the logical button
  38.           number for the physical button i+1.  The length of the list
  39.           must be the same as _X_G_e_t_P_o_i_n_t_e_r_M_a_p_p_i_n_g would return, or a
  40.           _B_a_d_V_a_l_u_e error results.  A zero element disables a button,
  41.           and elements are not restricted in value by the number of
  42.           physical buttons.  However, no two elements can have the
  43.           same nonzero value, or a _B_a_d_V_a_l_u_e error results.  If any of
  44.           the buttons to be altered are logically in the down state,
  45.           _X_S_e_t_P_o_i_n_t_e_r_M_a_p_p_i_n_g returns _M_a_p_p_i_n_g_B_u_s_y, and the mapping is
  46.           not changed.
  47.  
  48.           _X_S_e_t_P_o_i_n_t_e_r_M_a_p_p_i_n_g can generate a _B_a_d_V_a_l_u_e error.
  49.  
  50.           The _X_G_e_t_P_o_i_n_t_e_r_M_a_p_p_i_n_g function returns the current mapping
  51.           of the pointer.  Pointer buttons are numbered starting from
  52.           one.  _X_G_e_t_P_o_i_n_t_e_r_M_a_p_p_i_n_g returns the number of physical
  53.           buttons actually on the pointer.  The nominal mapping for a
  54.           pointer is map[i]=i+1.  The nmap argument specifies the
  55.           length of the array where the pointer mapping is returned,
  56.           and only the first nmap elements are returned in map_return.
  57.  
  58.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  59.           _B_a_d_V_a_l_u_e  Some numeric value falls outside the range of
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXSSSSeeeettttPPPPooooiiiinnnntttteeeerrrrMMMMaaaappppppppiiiinnnngggg((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666))))XXXXSSSSeeeettttPPPPooooiiiinnnntttteeeerrrrMMMMaaaappppppppiiiinnnngggg((((3333XXXX11111111))))
  71.  
  72.  
  73.  
  74.                     values accepted by the request.  Unless a specific
  75.                     range is specified for an argument, the full range
  76.                     defined by the argument's type is accepted.  Any
  77.                     argument defined as a set of alternatives can
  78.                     generate this error.
  79.  
  80.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  81.           XChangeKeyboardControl(3X11), XChangeKeyboardMapping(3X11)
  82.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.